import { useRoutes } from "react-router-dom";

import routesConfig from "./routes";

export default function App() {
  const routes = useRoutes(routesConfig);
  return <div className="App">{routes}</div>;
}
